package cn.gson.crm.model.mapper;

import cn.gson.crm.model.pojos.Refund;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RefundMapper {
    //查询所有
    public List<Refund> selectref(Integer rid);
    //时间查询
    public List<Refund> selecttiem(@Param("rid") Integer rid,@Param("statr") String statr,@Param("endtime") String endtime);
    //条件查询
    public List<Refund> selectwhere(@Param("rid") Integer rid,@Param("where") String where);
    //年份查询
    public List<Refund> selectnian(@Param("rid") Integer rid,@Param("nian")String nian);
}
